package com.wy.model;

import org.nutz.dao.entity.annotation.EL;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Prev;
import org.nutz.dao.entity.annotation.Table;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@ApiModel("合同")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Table("ti_contract")
public class ExtCproduct extends AbsModel<ExtCproduct> {
	private static final long serialVersionUID = 1L;

	@Name
	@Prev(els = @EL("uuid"))
	private String id;
	private String contractProductId; // 关联关系的表（外键），都成为普通字段
	private String factoryId;
	private String factoryName;
	private String ctype;
	private String productNo;
	private String productImage;
	private String productDesc;
	private Integer cnumber;
	private String packingUnit; // 包装单位
	private Double price;
	private Double amount;
	private String productRequest;
	private Integer orderNo;
}